#include "logo.h"

char *wordp(void)
{
     int i;
     int p;
     int l;
     char *ans;
     char *word;
     char *wordn;
     char wordnStr[MAXVALUE] ="\0";
     char wordStr[MAXVALUE] ="\0";
     char ansStr[MAXVALUE] ="\0";
     
     ans =ansStr;
     word =wordStr;
     wordn =wordnStr;
     strcpy(word,getValue());
     strcpy(ans,"FALSE");
     sscanf(word,"%[A-Z,0-9,a-z]",wordn);
     l =0;
     while ((isdigit(word[l]))&&(l<strlen(wordn)))
     {
           l++;
     }
     printf("wordp is %s\n",word);
     printf("wordpN is %s\n",wordn);
     if ((strlen(word) == strlen(wordn))&&(strlen(word) > l))
     {
        strcpy(ans,"TRUE");
     }
     return ans;
}
